import {  post } from "utils/fetch";

// 获取对象列表
export const getObjectList = (code) => {
  return post(`/flow-platform/object/metas/${code}`);
};

// 获取对象布局
export const getObjectLayout = (data={}) => {
  const {metaVersion,metaCode} = data;
  return post(`/flow-platform/object/metas-layout?metaVersion=${encodeURI(metaVersion)}&metaCode=${encodeURI(metaCode)}`);
};

